<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "https://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/xhtml;charset=UTF-8"/>
<meta http-equiv="X-UA-Compatible" content="IE=9"/>
<meta name="generator" content="Doxygen 1.8.15"/>
<meta name="viewport" content="width=device-width, initial-scale=1"/>
<title>WB32L003 Standard Peripherals Firmware Library: BASETIM</title>
<link href="tabs.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="jquery.js"></script>
<script type="text/javascript" src="dynsections.js"></script>
<link href="search/search.css" rel="stylesheet" type="text/css"/>
<script type="text/javascript" src="search/searchdata.js"></script>
<script type="text/javascript" src="search/search.js"></script>
<link href="doxygen.css" rel="stylesheet" type="text/css" />
</head>
<body>
<div id="top"><!-- do not remove this div, it is closed by doxygen! -->
<div id="titlearea">
<table cellspacing="0" cellpadding="0">
 <tbody>
 <tr style="height: 56px;">
  <td id="projectalign" style="padding-left: 0.5em;">
   <div id="projectname">WB32L003 Standard Peripherals Firmware Library
   </div>
  </td>
 </tr>
 </tbody>
</table>
</div>
<!-- end header part -->
<!-- Generated by Doxygen 1.8.15 -->
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
var searchBox = new SearchBox("searchBox", "search",false,'Search');
/* @license-end */
</script>
<script type="text/javascript" src="menudata.js"></script>
<script type="text/javascript" src="menu.js"></script>
<script type="text/javascript">
/* @license magnet:?xt=urn:btih:cf05388f2679ee054f2beb29a391d25f4e673ac3&amp;dn=gpl-2.0.txt GPL-v2 */
$(function() {
  initMenu('',true,false,'search.php','Search');
  $(document).ready(function() { init_search(); });
});
/* @license-end */</script>
<div id="main-nav"></div>
</div><!-- top -->
<!-- window showing the filter options -->
<div id="MSearchSelectWindow"
     onmouseover="return searchBox.OnSearchSelectShow()"
     onmouseout="return searchBox.OnSearchSelectHide()"
     onkeydown="return searchBox.OnSearchSelectKey(event)">
</div>

<!-- iframe showing the search results (closed by default) -->
<div id="MSearchResultsWindow">
<iframe src="javascript:void(0)" frameborder="0" 
        name="MSearchResults" id="MSearchResults">
</iframe>
</div>

<div class="header">
  <div class="summary">
<a href="#groups">Modules</a> &#124;
<a href="#nested-classes">Data Structures</a> &#124;
<a href="#func-members">Functions</a>  </div>
  <div class="headertitle">
<div class="title">BASETIM<div class="ingroups"><a class="el" href="group___w_b32_l003___std_periph___driver.html">WB32L003_StdPeriph_Driver</a></div></div>  </div>
</div><!--header-->
<div class="contents">
<table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="groups"></a>
Modules</h2></td></tr>
<tr class="memitem:group___t_i_m___exported__constants"><td class="memItemLeft" align="right" valign="top">&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___t_i_m___exported__constants.html">TIM_Exported_constants</a></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="nested-classes"></a>
Data Structures</h2></td></tr>
<tr class="memitem:"><td class="memItemLeft" align="right" valign="top">struct &#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="struct_base_tim___init_type_def.html">BaseTim_InitTypeDef</a></td></tr>
<tr class="memdesc:"><td class="mdescLeft">&#160;</td><td class="mdescRight">BaseTim Init structure definition.  <a href="struct_base_tim___init_type_def.html#details">More...</a><br /></td></tr>
<tr class="separator:"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table><table class="memberdecls">
<tr class="heading"><td colspan="2"><h2 class="groupheader"><a name="func-members"></a>
Functions</h2></td></tr>
<tr class="memitem:ga0f351e06d3d4b599d803f1a1bf63b10d"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___b_a_s_e_t_i_m.html#ga0f351e06d3d4b599d803f1a1bf63b10d">BaseTim_DeInit</a> (<a class="el" href="struct_b_a_s_e_t_i_m___type_def.html">BASETIM_TypeDef</a> *TIMx)</td></tr>
<tr class="memdesc:ga0f351e06d3d4b599d803f1a1bf63b10d"><td class="mdescLeft">&#160;</td><td class="mdescRight">Deinitializes the TIMx peripheral registers to their default reset values.  <a href="#ga0f351e06d3d4b599d803f1a1bf63b10d">More...</a><br /></td></tr>
<tr class="separator:ga0f351e06d3d4b599d803f1a1bf63b10d"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga8f987c85af7c2de1263d2bfb2f160795"><td class="memItemLeft" align="right" valign="top">void&#160;</td><td class="memItemRight" valign="bottom"><a class="el" href="group___b_a_s_e_t_i_m.html#ga8f987c85af7c2de1263d2bfb2f160795">BaseTim_Init</a> (<a class="el" href="struct_b_a_s_e_t_i_m___type_def.html">BASETIM_TypeDef</a> *TIMx, <a class="el" href="struct_base_tim___init_type_def.html">BaseTim_InitTypeDef</a> *BaseTim_InitStruct)</td></tr>
<tr class="memdesc:ga8f987c85af7c2de1263d2bfb2f160795"><td class="mdescLeft">&#160;</td><td class="mdescRight">Initializes the BaseTIMx Unit peripheral according to the specified parameters in the TIM_TimeBaseInitStruct.  <a href="#ga8f987c85af7c2de1263d2bfb2f160795">More...</a><br /></td></tr>
<tr class="separator:ga8f987c85af7c2de1263d2bfb2f160795"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga78b30902b7d2e34abc0e5a97e426fbfc"><td class="memItemLeft" align="right" valign="top"><a id="ga78b30902b7d2e34abc0e5a97e426fbfc"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>BaseTim_Cmd</b> (<a class="el" href="struct_b_a_s_e_t_i_m___type_def.html">BASETIM_TypeDef</a> *TIMx, FunctionalState NewState)</td></tr>
<tr class="separator:ga78b30902b7d2e34abc0e5a97e426fbfc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaa167cdd7b27459afb03f67d74ed6ec65"><td class="memItemLeft" align="right" valign="top"><a id="gaa167cdd7b27459afb03f67d74ed6ec65"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>BaseTim_ITConfig</b> (<a class="el" href="struct_b_a_s_e_t_i_m___type_def.html">BASETIM_TypeDef</a> *TIMx, FunctionalState NewState)</td></tr>
<tr class="separator:gaa167cdd7b27459afb03f67d74ed6ec65"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga37b1e1cb7740e59378c919b3af6e7b6b"><td class="memItemLeft" align="right" valign="top"><a id="ga37b1e1cb7740e59378c919b3af6e7b6b"></a>
uint32_t&#160;</td><td class="memItemRight" valign="bottom"><b>BaseTim_GetCounter</b> (<a class="el" href="struct_b_a_s_e_t_i_m___type_def.html">BASETIM_TypeDef</a> *TIMx)</td></tr>
<tr class="separator:ga37b1e1cb7740e59378c919b3af6e7b6b"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:gaf68996bb575cc313dc5e5536e8babd15"><td class="memItemLeft" align="right" valign="top"><a id="gaf68996bb575cc313dc5e5536e8babd15"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>BaseTim_SetLoad</b> (<a class="el" href="struct_b_a_s_e_t_i_m___type_def.html">BASETIM_TypeDef</a> *TIMx, uint16_t load)</td></tr>
<tr class="separator:gaf68996bb575cc313dc5e5536e8babd15"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga9cda67db440640594121751131134ae9"><td class="memItemLeft" align="right" valign="top"><a id="ga9cda67db440640594121751131134ae9"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>BaseTim_SetBkLoad</b> (<a class="el" href="struct_b_a_s_e_t_i_m___type_def.html">BASETIM_TypeDef</a> *TIMx, uint16_t bgLoad)</td></tr>
<tr class="separator:ga9cda67db440640594121751131134ae9"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga7eeacf70d2370dddb8461b435e62ccdc"><td class="memItemLeft" align="right" valign="top"><a id="ga7eeacf70d2370dddb8461b435e62ccdc"></a>
FlagStatus&#160;</td><td class="memItemRight" valign="bottom"><b>BaseTim_GetFlagStatus</b> (<a class="el" href="struct_b_a_s_e_t_i_m___type_def.html">BASETIM_TypeDef</a> *TIMx)</td></tr>
<tr class="separator:ga7eeacf70d2370dddb8461b435e62ccdc"><td class="memSeparator" colspan="2">&#160;</td></tr>
<tr class="memitem:ga5533972af0f534aba0341ec1a46245c5"><td class="memItemLeft" align="right" valign="top"><a id="ga5533972af0f534aba0341ec1a46245c5"></a>
void&#160;</td><td class="memItemRight" valign="bottom"><b>BaseTim_ClearFlag</b> (<a class="el" href="struct_b_a_s_e_t_i_m___type_def.html">BASETIM_TypeDef</a> *TIMx)</td></tr>
<tr class="separator:ga5533972af0f534aba0341ec1a46245c5"><td class="memSeparator" colspan="2">&#160;</td></tr>
</table>
<a name="details" id="details"></a><h2 class="groupheader">Detailed Description</h2>
<h2 class="groupheader">Function Documentation</h2>
<a id="ga0f351e06d3d4b599d803f1a1bf63b10d"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga0f351e06d3d4b599d803f1a1bf63b10d">&#9670;&nbsp;</a></span>BaseTim_DeInit()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void BaseTim_DeInit </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_b_a_s_e_t_i_m___type_def.html">BASETIM_TypeDef</a> *&#160;</td>
          <td class="paramname"><em>TIMx</em></td><td>)</td>
          <td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Deinitializes the TIMx peripheral registers to their default reset values. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">TIMx</td><td>where x can be 10 and 11 to select the BaseTIM peripheral. </td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">None</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
<a id="ga8f987c85af7c2de1263d2bfb2f160795"></a>
<h2 class="memtitle"><span class="permalink"><a href="#ga8f987c85af7c2de1263d2bfb2f160795">&#9670;&nbsp;</a></span>BaseTim_Init()</h2>

<div class="memitem">
<div class="memproto">
      <table class="memname">
        <tr>
          <td class="memname">void BaseTim_Init </td>
          <td>(</td>
          <td class="paramtype"><a class="el" href="struct_b_a_s_e_t_i_m___type_def.html">BASETIM_TypeDef</a> *&#160;</td>
          <td class="paramname"><em>TIMx</em>, </td>
        </tr>
        <tr>
          <td class="paramkey"></td>
          <td></td>
          <td class="paramtype"><a class="el" href="struct_base_tim___init_type_def.html">BaseTim_InitTypeDef</a> *&#160;</td>
          <td class="paramname"><em>BaseTim_InitStruct</em>&#160;</td>
        </tr>
        <tr>
          <td></td>
          <td>)</td>
          <td></td><td></td>
        </tr>
      </table>
</div><div class="memdoc">

<p>Initializes the BaseTIMx Unit peripheral according to the specified parameters in the TIM_TimeBaseInitStruct. </p>
<dl class="params"><dt>Parameters</dt><dd>
  <table class="params">
    <tr><td class="paramname">TIMx</td><td>where x can be 1 to 8 to select the BaseTIM peripheral. </td></tr>
    <tr><td class="paramname">TIM_TimeBaseInitStruct</td><td>pointer to a <a class="el" href="struct_t_i_m___time_base_init_type_def.html" title="TIM Time Base Init structure definition.">TIM_TimeBaseInitTypeDef</a> structure that contains the configuration information for the specified BaseTIM peripheral. </td></tr>
  </table>
  </dd>
</dl>
<dl class="retval"><dt>Return values</dt><dd>
  <table class="retval">
    <tr><td class="paramname">None</td><td></td></tr>
  </table>
  </dd>
</dl>

</div>
</div>
</div><!-- contents -->
<!-- start footer part -->
<hr class="footer"/><address class="footer"><small>
Generated by Westberry Technology (ChangZhou) Corp., Ltd. All rights reserved.
</small></address>
</body>
</html>
